<%@ page import="com.lagou.task.entity.Student" %><%--
  Created by IntelliJ IDEA.
  User: liuyunkai
  Date: 2021/1/11
  Time: 10:42 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>查询结果</title>
    <%--导入bootstrap样式--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"
          type="text/css">
</head>
<body style="padding: 100px;position: relative;top: 50px">
<div class="container-fluid">
    <div class="table-responsive">
        <table class="table table-hover">
            <thead>
            <tr>
                <th></th>
                <th>学号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>出生日期</th>
                <th>email</th>
                <th>班级</th>
                <th>备注</th>
            </tr>
            </thead>
            <tbody id="findTbody">
            <%--<%Student findStudent =  (Student) request.getSession().getAttribute("findStudent");%>
            <tr class="default-color0">
                <td></td>
                <td><%=findStudent.getId()%></td>
                <td><%=findStudent.getName()%></td>
                <td><%=findStudent.getSex()%></td>
                <td><%=findStudent.getBirth()%></td>
                <td><%=findStudent.getEmail()%></td>
                <td><%=findStudent.getNote()%></td>
            </tr>--%>
            <c:set var="findStudent" value="${sessionScope.findStudent}"/>
            <tr class="default-color0">
                <td></td>
                <td>${findStudent.getId()}</td>
                <td>${findStudent.getName()}</td>
                <td>${findStudent.getSex()}</td>
                <td>${findStudent.getBirth()}</td>
                <td>${findStudent.getEmail()}</td>
                <td>${findStudent.getClassName()}</td>
                <td>${findStudent.getNote()}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<%--导入js插件--%>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

</body>
</html>
